package com.qingmi.farmer.data.model;

import com.google.gson.annotations.SerializedName;

/**
 * 商品排序
 * Created by 67535 on 2018/5/21.
 */
public class GoodsSort {

    @SerializedName("Id")
    private int id;

    @SerializedName("Name")
    private String name;

    public GoodsSort() {
    }

    public GoodsSort(int id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String toString() {
        return name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
